<div th:fragment="TPLScript">
<script>
<!-- Listing库 关联平台编号 -->
function bdbtn(code) {
	var w=($(window).width()*0.9);
	var h=($(window).height() - 50);
	var index = layer.open({
		type: 2,
		area: [w+'px', h +'px'],
		fix: true,
		maxmin: false,
		shadeClose: true,
		shade:0.4,
		title: "关联平台编号",
		content: '/web/business/tpProductActive/bindShop?code='+code
	});
}


function isFrom1_0() {
	if(window.top.isMobile!=undefined || window.top.isMobile!=null){
		return false;
	} else {
		return true;
	}
}


//加月份
//初始日期month yyyy-mm ；addNum要增加的月份
function addMonthByYYYY_MM(month,addNum) {
	var dateInfo = month.split("-");
	var yearInfo = parseInt(dateInfo[0]);
	var monthInfo = parseInt(dateInfo[1]);
	var addYearNum = 0;
	var sumMonth = monthInfo+parseInt(addNum);
	if(sumMonth>12){
		while(sumMonth>12){
			sumMonth = sumMonth-12;
			addYearNum++;
		}
	}
	var addAfter = (yearInfo+addYearNum)+'-'+(sumMonth<10?'0'+sumMonth:sumMonth);
	return addAfter;
}


</script>
<script type="text/html" id="templet_script_name">
{{d.info}}
</script>

<!-- 字段编码 -->
<script type="text/html" id="templet_script_13">
{{#  if(d.frontType == 't_checkbox' || d.frontType == 't_dropdown'){ }}
<a class="layui-btn layui-btn-xs layui-btn-normal" onclick="var w=($(window).width()*0.8); var h=($(window).height() - 50); layer.open({ title:'设置选项',  type: 2,area: [w+'px', h +'px'],fix: true, maxmin: false, shadeClose: true, shade:0.4,shade:0.5,content:'/web/sys/ysCol/toSettingOption?colId={{d.id}}' });"><i class="layui-icon layui-icon-set"></i>设置选项</a>
{{#  } }}
{{#  if(d.frontType == 't_buttontext' || d.frontConditionType == 't_buttontext' || d.formAddType == 't_buttontext' || d.formEditType == 't_buttontext'){ }}
<a class="layui-btn layui-btn-xs layui-btn-normal" onclick="var w=($(window).width()*0.8); var h=($(window).height() - 50); layer.open({ title:'设置前台弹出框',  type: 2,area: [w+'px', h +'px'],fix: true, maxmin: false, shadeClose: true, shade:0.4,shade:0.5,content:'/web/sys/ysCol/toSettingSelectorModal?colId={{d.id}}' });"><i class="layui-icon layui-icon-set"></i>设置弹出框</a>
{{#  } }}
{{#  if(d.formAddType == 't_dropdown_multy' || d.formEditType == 't_dropdown_multy'){ }}
<a class="layui-btn layui-btn-xs layui-btn-normal" onclick="var w=($(window).width()*0.8); var h=($(window).height() - 50); layer.open({ title:'设置下拉框(多选)',  type: 2,area: [w+'px', h +'px'],fix: true, maxmin: false, shadeClose: true, shade:0.4,shade:0.5,content:'/web/sys/ysCol/toSettingDropdownMulty?colId={{d.id}}' });"><i class="layui-icon layui-icon-set"></i>设置下拉框</a>
{{#  } }}
{{#  if(d.formAddType == 't_file_multy' || d.formEditType == 't_file_multy'){ }}
<a class="layui-btn layui-btn-xs layui-btn-normal" onclick="var w=($(window).width()*0.8); var h=($(window).height() - 50); layer.open({ title:'设置文件来源类型',  type: 2,area: [w+'px', h +'px'],fix: true, maxmin: false, shadeClose: true, shade:0.4,shade:0.5,content:'/web/sys/ysCol/toSettingMultyFileSourceType?colId={{d.id}}' });"><i class="layui-icon layui-icon-set"></i>设置文件来源</a>
{{#  } }}
<a class="layui-btn layui-btn-xs layui-btn-danger" onclick="doDeleteOnTable('/api/inter/ysCol/deleteTrue?id={{d.id}}');"><i class="layui-icon layui-icon-delete"></i>删除</a>
</script>


<!-- 文本框-按钮事件名 -->
<script type="text/html" id="templet_script_19">
{{ d.event }}
</script>

<!-- 文本框-按钮图标 -->
<script type="text/html" id="templet_script_20">
{{ d.icon }}
</script>

<!-- 按钮管理-操作 -->
<script type="text/html" id="templet_script_23">
	<a class="layui-btn layui-btn-xs layui-btn-normal" onclick=" var w=($(window).width()*0.8); var h=($(window).height() - 50); layer.open({ title:'编辑',  type: 2,area: [w+'px', h +'px'],fix: true, maxmin: false, shadeClose: true, shade:0.4,shade:0.5,content:'/web/sys/ysButton/toEdit?id={{d.id}}'});">
	<i class="layui-icon layui-icon-edit"></i>编辑</a>
	<a class="layui-btn layui-btn-xs layui-btn-danger" onclick="doDeleteOnTable('/api/inter/ysButton/deleteTrue?id={{d.id}}');">
	<i class="layui-icon layui-icon-delete"></i>删除</a>
</script>

<!-- 店铺信息（新）-操作 -->
<script type="text/html" id="templet_script_136">
	<a class="layui-btn layui-btn-xs layui-btn-normal" onclick="var w=($(window).width()*0.8); var h=($(window).height() - 50); layer.open({ title:'同步14天订单',  type: 2,area: [w+'px', h +'px'],fix: true, maxmin: false, shadeClose: true, shade:0.4,shade:0.5,content:'/web/business/tpAmazonShop/toRefreshOrderByShop?guid={{d.guid}}'});">
		<i class="layui-icon layui-icon-set-sm"></i>同步14天订单</a>
</script>

<!-- 角色信息-操作 -->
<script type="text/html" id="templet_script_419">
	<a class="layui-btn layui-btn-xs layui-btn-normal" onclick="var w=($(window).width()*0.8); var h=($(window).height() - 50); layer.open({ title:'角色授权',  type: 2,area: [w+'px', h +'px'],fix: true, maxmin: false, shadeClose: true, shade:0.4,shade:0.5,content:'/web/sys/ysRole/toAuth?roleId={{d.id}}'});">
	<i class="layui-icon layui-icon-play"></i>角色授权</a>
</script>

<!-- 用户信息-操作 -->
<script type="text/html" id="templet_script_432">
	<a class="layui-btn layui-btn-xs layui-btn-normal" onclick="var w=($(window).width()*0.8); var h=($(window).height() - 50); layer.open({ title:'编辑用户',  type: 2,area: [w+'px', h +'px'],fix: true, maxmin: false, shadeClose: true, shade:0.4,shade:0.5,content:'/web/sys/tsUserInfo/toEdit?id={{d.id}}'});">
	<i class="layui-icon layui-icon-edit"></i>编辑</a>
	<a class="layui-btn layui-btn-xs layui-btn-normal" onclick="var w=($(window).width()*0.8); var h=($(window).height() - 50); layer.open({ title:'编辑用户',  type: 2,area: [w+'px', h +'px'],fix: true, maxmin: false, shadeClose: true, shade:0.4,shade:0.5,content:'/web/sys/tsUserInfo/toResetPass?id={{d.id}}'});">
	<i class="layui-icon layui-icon-set-sm"></i>重置密码</a>
</script>

<!-- 流程模型-操作 -->
<script type="text/html" id="templet_script_447">
	<a class="layui-btn layui-btn-xs layui-btn-normal" onclick="var w=($(window).width()*0.8); var h=($(window).height() - 50); layer.open({ title:'在线设计',  type: 2,area: [w+'px', h +'px'],fix: true, maxmin: false, shadeClose: true, shade:0.4,shade:0.5,content:'/web/flow/yspModel/toDesign?id={{d.id}}'});"><i class="layui-icon layui-icon-edit"></i>在线设计</a>
	<a class="layui-btn layui-btn-xs layui-btn-normal" onclick="var w=($(window).width()*0.8); var h=($(window).height() - 50); layer.open({ title:'部署流程',  type: 2,area: [w+'px', h +'px'],fix: true, maxmin: false, shadeClose: true, shade:0.4,shade:0.5,content:'/web/flow/yspModel/toDeploy?id={{d.id}}'});"><i class="layui-icon layui-icon-set-sm"></i>部署</a>
	<a class="layui-btn layui-btn-xs layui-btn-danger" onclick="doDeleteOnTable('/api/inter/yspModel/delete?id={{d.id}}');">
		<i class="layui-icon layui-icon-delete"></i>删除</a>
</script>

<!-- 时效考核-操作 -->
<script type="text/html" id="templet_script_464">
	<a class="layui-btn layui-btn-xs layui-btn-normal" onclick="var w=($(window).width()*0.8); var h=($(window).height() - 50); layer.open({ title:'详情',  type: 2,area: [w+'px', h +'px'],fix: true, maxmin: false, shadeClose: true, shade:0.4,shade:0.5,content:'/web/business/tpTimeCheck/toTimeCheckDetail?countTypeMsg={{d.countTypeMsg}}&monthNum={{d.monthNum}}'});">
	<i class="layui-icon layui-icon-form"></i>详情</a>
</script>

<!-- 弹出框管理-操作 -->
<script type="text/html" id="templet_script_470">
	{{#  if(d.type == 't_checkbox' || d.type == 't_dropdown'){ }}
	<a class="layui-btn layui-btn-xs layui-btn-normal" onclick="var w=($(window).width()*0.8); var h=($(window).height() - 50); layer.open({ title:'设置选项',  type: 2,area: [w+'px', h +'px'],fix: true, maxmin: false, shadeClose: true, shade:0.4,shade:0.5,content:'/web/sys/ysModalSelectorField/toOptionSetting?id={{d.id}}'});">
		<i class="layui-icon layui-icon-set"></i>设置选项</a>
	{{#  } }}
	<a class="layui-btn layui-btn-xs layui-btn-danger" onclick="doDeleteOnTable('/api/inter/ysModalSelectorField/deleteTrue?id={{d.id}}');">
		<i class="layui-icon layui-icon-delete"></i>删除</a>
</script>

<!-- 弹出框管理-是否查询 -->
<script type="text/html" id="templet_script_491">
<input type="checkbox" name="stateCondition" value="{{d.stateCondition}}" lay-skin="switch" lay-text="是|否" lay-filter="_input_filter_checkbox_on_table" {{ d.stateCondition == '1' ? 'checked' : '' }}>
</script>

<!-- 部门员工评价-操作 -->
<script type="text/html" id="templet_script_506">
	<a class="layui-btn layui-btn-xs layui-btn-normal" onclick="var w=($(window).width()*0.8); var h=($(window).height() - 50); layer.open({ title:'详情',  type: 2,area: [w+'px', h +'px'],fix: true, maxmin: false, shadeClose: true, shade:0.4,shade:0.5,content:'/web/business/tpDeptUserPoint/toDeptUserPointEditOrDetail?id={{d.id}}&type=2'});">
	<i class="layui-icon layui-icon-form"></i>详情</a>
</script>

<!-- 运营公司管理-操作 -->
<script type="text/html" id="templet_script_13346">
	<a class="layui-btn layui-btn-xs layui-btn-normal" onclick=" var w=($(window).width()*0.8); var h=($(window).height() - 50); layer.open({ title:'编辑',  type: 2,area: [w+'px', h +'px'],fix: true, maxmin: false, shadeClose: true, shade:0.4,shade:0.5,content:'/web/hr/thrOperateCompanyInfo/toEdit?id={{d.id }}'});">
		<i class="layui-icon layui-icon-edit"></i>编辑</a>
</script>

<!-- 注册跟踪阶段设置-操作 -->
<script type="text/html" id="templet_script_570">
	<a class="layui-btn layui-btn-xs" onclick="doEdit('{{d.id}}', '{{d.parentId}}','{{d.children!=null && d.children.length >0?d.children.length:0}}');">
		<i class="layui-icon layui-icon-edit"></i>编辑</a>
	<a class="layui-btn layui-btn-xs layui-btn-danger" onclick="doDeleteOnTable('{{d.id}}','{{d.phaseNum}}','{{d.parentId}}','{{d.children!=null && d.children.length >0?d.children.length:0}}' );">
		<i class="layui-icon layui-icon-delete"></i>删除</a>
</script>
	<!-- 退出跟踪阶段设置-操作 -->
	<script type="text/html" id="templet_script_11448">
		<a class="layui-btn layui-btn-xs" onclick="doEdit('{{d.id}}', '{{d.parentId}}','{{d.children!=null && d.children.length >0?d.children.length:0}}');">
			<i class="layui-icon layui-icon-edit"></i>编辑</a>
		<a class="layui-btn layui-btn-xs layui-btn-danger" onclick="doDeleteOnTable('{{d.id}}','{{d.phaseNum}}','{{d.parentId}}','{{d.children!=null && d.children.length >0?d.children.length:0}}' );">
			<i class="layui-icon layui-icon-delete"></i>删除</a>
	</script>
<!-- 运营比例设置-操作 -->
<script type="text/html" id="templet_script_10579">
	<a class="layui-btn layui-btn-xs layui-btn-normal" onclick=" var w=($(window).width()*0.8); var h=($(window).height() - 50); layer.open({ title:'编辑',  type: 2,area: [w+'px', h +'px'],fix: true, maxmin: false, shadeClose: true, shade:0.4,shade:0.5,content:'/web/hr/thrOperateCompanyRatio/toEdit?id={{d.id}}'});">
		<i class="layui-icon layui-icon-edit"></i>编辑</a>

</script>

<!-- 积分商品管理-操作 -->
<script type="text/html" id="templet_script_10922">
	<a class="layui-btn layui-btn-xs layui-btn-normal" onclick="$.post('/api/inter/tmGoods/moveTop?id={{d.id}}', {}, function(res){ if (res.code == 0) { layer.msg('操作成功'); setTimeout(function(){ reloadTableOfList(); }, 1000); } else { layer.msg(res.msg); } });">
		<i class="layui-icon layui-icon-home"></i>置顶</a>
</script>

<!-- 定时表单分类绑定-操作 -->
<script type="text/html" id="templet_script_11566">
	<a class="layui-btn layui-btn-xs" onclick="var w=($(window).width()*0.8); var h=($(window).height() - 50); layer.open({ title:'编辑',  type: 2,area: [w+'px', h +'px'],fix: true, maxmin: false, shadeClose: true, shade:0.4,shade:0.5,content:'/web/eKnowAi/webEKnowAiController/eKnowTimerSetUpdate?id={{d.id}}'});">
		<i class="layui-icon layui-icon-edit"></i>编辑</a>
</script>

	<!-- 逸知道日志管理-操作 -->
	<script type="text/html" id="templet_script_11667">
		<a class="layui-btn layui-btn-xs" onclick="var w=($(window).width()*0.8); var h=($(window).height() - 50); layer.open({ title:'编辑',  type: 2,area: [w+'px', h +'px'],fix: true, maxmin: false, shadeClose: true, shade:0.4,shade:0.5,content:'/web/eKnowAi/webEKnowAiController/chatLogManageUpdate?id={{d.id}}'});">
			<i class="layui-icon layui-icon-edit"></i>编辑</a>
		<a class="layui-btn layui-btn-xs layui-bg-blue"  onclick="var w=($(window).width()*0.8); var h=($(window).height() - 50); layer.open({ title:'详情',  type: 2,area: [w+'px', h +'px'],fix: true, maxmin: false, shadeClose: true, shade:0.4,shade:0.5,content:'/web/eKnowAi/webEKnowAiController/chatLogManageDetail?id={{d.id}}'});">
			<i class="layui-icon layui-icon-form"></i>详情</a>
	</script>

	<!-- 逸知道日志查看-操作 -->
	<script type="text/html" id="templet_script_11668">
		<a class="layui-btn layui-btn-xs layui-bg-blue"  onclick="var w=($(window).width()*0.8); var h=($(window).height() - 50); layer.open({ title:'详情',  type: 2,area: [w+'px', h +'px'],fix: true, maxmin: false, shadeClose: true, shade:0.4,shade:0.5,content:'/web/eKnowAi/webEKnowAiController/chatLogDetail?id={{d.id}}'});">
			<i class="layui-icon layui-icon-form"></i>详情</a>
	</script>
	<!-- 逸知道场景管理-操作 -->
	<script type="text/html" id="templet_script_11672">
		<a class="layui-btn layui-btn-xs layui-bg-blue"  onclick="var w=($(window).width()*0.8); var h=($(window).height() - 50); layer.open({ title:'编辑',  type: 2,area: [w+'px', h +'px'],fix: true, maxmin: false, shadeClose: true, shade:0.4,shade:0.5,content:'/web/eKnowAi/webEKnowAiController/sceneUpdate?id={{d.id}}'});">
			<i class="layui-icon layui-icon-edit"></i>编辑</a>
	</script>
	<!-- 财务审核表-审核情况 -->
	<script type="text/html" id="templet_script_11724">
		{{# if(d.examineStatus == 1){ }}
		<span style="color:red;">有误</span>
		{{# }else{ }}
		<span>无误</span>
		{{# } }}

	</script>

	<!-- 财务审核表-核账实时资金 -->
	<script type="text/html" id="templet_script_11719">
		{{ d.realTimeFund.toFixed(2) }}
	</script>
	<!-- 财务审核表-昨日实时资金 -->
	<script type="text/html" id="templet_script_11720">
		{{ d.yesterdayFund.toFixed(2) }}
	</script>
	<!-- 财务审核表-今日资金变化 -->
	<script type="text/html" id="templet_script_11721">
		{{ d.fundChange.toFixed(2) }}
	</script>
	<!-- 财务审核表-今日流水变化 -->
	<script type="text/html" id="templet_script_11722">
		{{ d.fundTurnoverChange.toFixed(2) }}
	</script>


	<!-- 部门业务收支-1月 -->
	<script type="text/html" id="templet_script_11733">
		<div style="width: 100%;"><span style="float: right;padding-right: 7px;">{{ d.janCount.toFixed(2) }}</span></div>
	</script>
	<!-- 部门业务收支-2月 -->
	<script type="text/html" id="templet_script_11734">
		<div style="width: 100%;"><span style="float: right;padding-right: 7px;">{{ d.febCount.toFixed(2) }}</span></div>
	</script>
	<!-- 部门业务收支-3月 -->
	<script type="text/html" id="templet_script_11735">
		<div style="width: 100%;"><span style="float: right;padding-right: 7px;">{{ d.marCount.toFixed(2) }}</span></div>
	</script>
	<!-- 部门业务收支-4月 -->
	<script type="text/html" id="templet_script_11736">
		<div style="width: 100%;"><span style="float: right;padding-right: 7px;">{{ d.aprCount.toFixed(2) }}</span></div>
	</script>
	<!-- 部门业务收支-5月 -->
	<script type="text/html" id="templet_script_11737">
		<div style="width: 100%;"><span style="float: right;padding-right: 7px;">{{ d.mayCount.toFixed(2) }}</span></div>
	</script>
	<!-- 部门业务收支-6月 -->
	<script type="text/html" id="templet_script_11738">
		<div style="width: 100%;"><span style="float: right;padding-right: 7px;">{{ d.junCount.toFixed(2) }}</span></div>
	</script>
	<!-- 部门业务收支-7月 -->
	<script type="text/html" id="templet_script_11739">
		<div style="width: 100%;"><span style="float: right;padding-right: 7px;">{{ d.julCount.toFixed(2) }}</span></div>
	</script>
	<!-- 部门业务收支-8月 -->
	<script type="text/html" id="templet_script_11740">
		<div style="width: 100%;"><span style="float: right;padding-right: 7px;">{{ d.augCount.toFixed(2) }}</span></div>
	</script>
	<!-- 部门业务收支-9月 -->
	<script type="text/html" id="templet_script_11741">
		<div style="width: 100%;"><span style="float: right;padding-right: 7px;">{{ d.septCount.toFixed(2) }}</span></div>
	</script>
	<!-- 部门业务收支-10月 -->
	<script type="text/html" id="templet_script_11742">
		<div style="width: 100%;"><span style="float: right;padding-right: 7px;">{{ d.octCount.toFixed(2) }}</span></div>
	</script>
	<!-- 部门业务收支-11月 -->
	<script type="text/html" id="templet_script_11743">
		<div style="width: 100%;"><span style="float: right;padding-right: 7px;">{{ d.novCount.toFixed(2) }}</span></div>
	</script>
	<!-- 部门业务收支-12月 -->
	<script type="text/html" id="templet_script_11744">
		<div style="width: 100%;"><span style="float: right;padding-right: 7px;">{{ d.decCount.toFixed(2) }}</span></div>
	</script>
	<!-- 部门业务收支-累计 -->
	<script type="text/html" id="templet_script_11745">
		<div style="width: 100%;"><span style="float: right;padding-right: 7px;">{{ d.yearCount.toFixed(2) }}</span></div>
	</script>
	<!-- 部门业务收支-账上资金 -->
	<script type="text/html" id="templet_script_11787">
		<div style="width: 100%;"><span style="float: right;padding-right: 7px;">{{ d.monthLastDayCount!=null?d.monthLastDayCount.toFixed(2):'' }}</span></div>
	</script>



	<!-- 部门交易类型业务收支报告-1月 -->
	<script type="text/html" id="templet_script_11755">
		<div style="width: 100%;"><span style="float: right;padding-right: 7px;">{{ d.janCount.toFixed(2) }}</span></div>
	</script>
	<!-- 部门交易类型业务收支报告-2月 -->
	<script type="text/html" id="templet_script_11756">
		<div style="width: 100%;"><span style="float: right;padding-right: 7px;">{{ d.febCount.toFixed(2) }}</span></div>
	</script>
	<!-- 部门交易类型业务收支报告-3月 -->
	<script type="text/html" id="templet_script_11757">
		<div style="width: 100%;"><span style="float: right;padding-right: 7px;">{{ d.marCount.toFixed(2) }}</span></div>
	</script>
	<!-- 部门交易类型业务收支报告-4月 -->
	<script type="text/html" id="templet_script_11758">
		<div style="width: 100%;"><span style="float: right;padding-right: 7px;">{{ d.aprCount.toFixed(2) }}</span></div>
	</script>
	<!-- 部门交易类型业务收支报告-5月 -->
	<script type="text/html" id="templet_script_11759">
		<div style="width: 100%;"><span style="float: right;padding-right: 7px;">{{ d.mayCount.toFixed(2) }}</span></div>
	</script>
	<!-- 部门交易类型业务收支报告-6月 -->
	<script type="text/html" id="templet_script_11760">
		<div style="width: 100%;"><span style="float: right;padding-right: 7px;">{{ d.junCount.toFixed(2) }}</span></div>
	</script>
	<!-- 部门交易类型业务收支报告-7月 -->
	<script type="text/html" id="templet_script_11761">
		<div style="width: 100%;"><span style="float: right;padding-right: 7px;">{{ d.julCount.toFixed(2) }}</span></div>
	</script>
	<!-- 部门交易类型业务收支报告-8月 -->
	<script type="text/html" id="templet_script_11762">
		<div style="width: 100%;"><span style="float: right;padding-right: 7px;">{{ d.augCount.toFixed(2) }}</span></div>
	</script>
	<!-- 部门交易类型业务收支报告-9月 -->
	<script type="text/html" id="templet_script_11763">
		<div style="width: 100%;"><span style="float: right;padding-right: 7px;">{{ d.septCount.toFixed(2) }}</span></div>
	</script>
	<!-- 部门交易类型业务收支报告-10月 -->
	<script type="text/html" id="templet_script_11764">
		<div style="width: 100%;"><span style="float: right;padding-right: 7px;">{{ d.octCount.toFixed(2) }}</span></div>
	</script>
	<!-- 部门交易类型业务收支报告-11月 -->
	<script type="text/html" id="templet_script_11765">
		<div style="width: 100%;"><span style="float: right;padding-right: 7px;">{{ d.novCount.toFixed(2) }}</span></div>
	</script>
	<!-- 部门交易类型业务收支报告-12月 -->
	<script type="text/html" id="templet_script_11766">
		<div style="width: 100%;"><span style="float: right;padding-right: 7px;">{{ d.decCount.toFixed(2) }}</span></div>
	</script>
	<!-- 部门交易类型业务收支报告-累计 -->
	<script type="text/html" id="templet_script_11767">
		<div style="width: 100%;"><span style="float: right;padding-right: 7px;">{{ d.yearCount.toFixed(2) }}</span></div>
	</script>
	<!-- 部门交易类型业务收支报告-交易类型 -->
	<script type="text/html" id="templet_script_11771">
		<div style="width: 100%;"><span style="float: left;padding-left: 5px;">{{ d.dealType }}</span></div>
	</script>


	<!-- 交易类型业务收支报告-交易类型 -->
	<script type="text/html" id="templet_script_11790">
		<div style="width: 100%;"><span style="float: left;padding-left: 5px;">{{ d.dealType }}</span></div>
	</script>
	<!-- 交易类型业务收支报告-1月 -->
	<script type="text/html" id="templet_script_11794">
		<div style="width: 100%;"><span style="float: right;padding-right: 7px;">{{ d.janCount.toFixed(2) }}</span></div>
	</script>
	<!-- 交易类型业务收支报告-2月 -->
	<script type="text/html" id="templet_script_11795">
		<div style="width: 100%;"><span style="float: right;padding-right: 7px;">{{ d.febCount.toFixed(2) }}</span></div>
	</script>
	<!-- 交易类型业务收支报告-3月 -->
	<script type="text/html" id="templet_script_11796">
		<div style="width: 100%;"><span style="float: right;padding-right: 7px;">{{ d.marCount.toFixed(2) }}</span></div>
	</script>
	<!-- 交易类型业务收支报告-4月 -->
	<script type="text/html" id="templet_script_11797">
		<div style="width: 100%;"><span style="float: right;padding-right: 7px;">{{ d.aprCount.toFixed(2) }}</span></div>
	</script>
	<!-- 交易类型业务收支报告-5月 -->
	<script type="text/html" id="templet_script_11798">
		<div style="width: 100%;"><span style="float: right;padding-right: 7px;">{{ d.mayCount.toFixed(2) }}</span></div>
	</script>
	<!-- 交易类型业务收支报告-6月 -->
	<script type="text/html" id="templet_script_11799">
		<div style="width: 100%;"><span style="float: right;padding-right: 7px;">{{ d.junCount.toFixed(2) }}</span></div>
	</script>
	<!-- 交易类型业务收支报告-7月 -->
	<script type="text/html" id="templet_script_11800">
		<div style="width: 100%;"><span style="float: right;padding-right: 7px;">{{ d.julCount.toFixed(2) }}</span></div>
	</script>
	<!-- 交易类型业务收支报告-8月 -->
	<script type="text/html" id="templet_script_11801">
		<div style="width: 100%;"><span style="float: right;padding-right: 7px;">{{ d.augCount.toFixed(2) }}</span></div>
	</script>
	<!-- 交易类型业务收支报告-9月 -->
	<script type="text/html" id="templet_script_11802">
		<div style="width: 100%;"><span style="float: right;padding-right: 7px;">{{ d.septCount.toFixed(2) }}</span></div>
	</script>
	<!-- 交易类型业务收支报告-10月 -->
	<script type="text/html" id="templet_script_11803">
		<div style="width: 100%;"><span style="float: right;padding-right: 7px;">{{ d.octCount.toFixed(2) }}</span></div>
	</script>
	<!-- 交易类型业务收支报告-11月 -->
	<script type="text/html" id="templet_script_11804">
		<div style="width: 100%;"><span style="float: right;padding-right: 7px;">{{ d.novCount.toFixed(2) }}</span></div>
	</script>
	<!-- 交易类型业务收支报告-12月 -->
	<script type="text/html" id="templet_script_11805">
		<div style="width: 100%;"><span style="float: right;padding-right: 7px;">{{ d.decCount.toFixed(2) }}</span></div>
	</script>
	<!-- 交易类型业务收支报告-累计 -->
	<script type="text/html" id="templet_script_11806">
		<div style="width: 100%;"><span style="float: right;padding-right: 7px;">{{ d.yearCount.toFixed(2) }}</span></div>
	</script>

	<!-- 印章管理-操作 -->
	<script type="text/html" id="templet_script_11833">
		<a class="layui-btn layui-btn-xs layui-btn-danger" onclick="doDeleteOnTable('/api/inter/admSignetManage/del?id={{d.id}}');">
			<i class="layui-icon layui-icon-delete"></i>删除</a>
	</script>

	<!-- 店铺退出跟踪-工作内容 -->
	<script type="text/html" id="templet_script_11122">
		<div class="layui-table-link" onclick="
						var w=($(window).width()*0.8);
						var h=($(window).height() - 50);
						layer.open({
							title:'工作内容',
							type: 2,
							area: ['1200px', '700px'],
							fix: true,
							maxmin: false,
							shadeClose: true,
							shade:0.4,shade:0.5,
							content:'/web/business/tpShopStopPhaseRecord/toContent?id={{ d.id }}'});">
			<div style="float:left;width: 85%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;">{{ d.workContent==undefined?'':d.workContent }}</div>
			<div style="float:right;width: 15%;"><i class="iconfont icon-search" style="float: right;"></i></div></div>
	</script>

	<!-- 店铺注册跟踪-工作内容 -->
	<script type="text/html" id="templet_script_606">
		<div class="layui-table-link" onclick="
						var w=($(window).width()*0.8);
						var h=($(window).height() - 50);
						layer.open({
							title:'工作内容',
							type: 2,
							area: ['1200px', '700px'],
							fix: true,
							maxmin: false,
							shadeClose: true,
							shade:0.4,shade:0.5,
							content:'/web/business/tpShopRegisterPhaseRecord/toContent?id={{ d.id }}'});">
			<div style="float:left;width: 85%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;">{{ d.workContent==undefined?'':d.workContent }}</div>
			<div style="float:right;width: 15%;"><i class="iconfont icon-search" style="float: right;"></i></div></div>
	</script>

	<!-- Listing库-商品图片 -->
	<script type="text/html" id="templet_script_12100">
		<div style="width: 100%;">
		<img src="{{d.img}}" data-type="1" height="30" class="preview-all"
			 onclick="layer.photos({photos: {'title': '{{d.name}}','id': '{{d.id}}','start': 0,'data': [{'src': '{{d.img}}'}]},closeBtn: 1});"/>
		</div>
	</script>

	<!-- Listing库-验收图片1 -->
	<script type="text/html" id="templet_script_12101">
		<div style="width: 100%;">
		<img src="{{d.img1}}" data-type="1" height="30" class="preview-all"
			 onclick="layer.photos({photos: {'title': '{{d.name}}','id': '{{d.id}}','start': 0,'data': [{'src': '{{d.img1}}'}]},closeBtn: 1});"/>
		</div>
	</script>

	<!-- Listing库-验收图片2 -->
	<script type="text/html" id="templet_script_12102">
		<div style="width: 100%;">
		<img src="{{d.img2}}" data-type="1" height="30" class="preview-all"
			 onclick="layer.photos({photos: {'title': '{{d.name}}','id': '{{d.id}}','start': 0,'data': [{'src': '{{d.img2}}'}]},closeBtn: 1});"/>
		</div>
	</script>

	<!-- 商品库-商品图片 -->
	<script type="text/html" id="templet_script_144">
		<div style="width: 100%;">
		<img src="{{d.img}}" data-type="1" height="30" class="preview-all"
			 onclick="layer.photos({photos: {'title': '{{d.name}}','id': '{{d.id}}','start': 0,'data': [{'src': '{{d.img2}}'}]},closeBtn: 1});"/>
		</div>
	</script>

	<!-- 商品库-验收图片1 -->
	<script type="text/html" id="templet_script_12459">
		<div style="width: 100%;">
			<img src="{{d.img1}}" data-type="1" height="30" class="preview-all"
				 onclick="layer.photos({photos: {'title': '{{d.name}}','id': '{{d.id}}','start': 0,'data': [{'src': '{{d.img1}}'}]},closeBtn: 1});"/>
		</div>
	</script>

	<!-- 商品库-验收图片2 -->
	<script type="text/html" id="templet_script_10946">
		<div style="width: 100%;">
			<img src="{{d.img2}}" data-type="1" height="30" class="preview-all"
				 onclick="layer.photos({photos: {'title': '{{d.name}}','id': '{{d.id}}','start': 0,'data': [{'src': '{{d.img2}}'}]},closeBtn: 1});"/>
		</div>
	</script>

	<!-- 任务中心-待处理-操作 -->
	<script type="text/html" id="templet_script_12403">
		<a class="layui-btn layui-btn-xs layui-btn-normal" onclick="toFlow('{{d.bid}}', '{{d.defName}}-{{d.bid}}');">
		<i class="layui-icon layui-icon-edit"></i>表单数据</a>
		<a class="layui-btn layui-btn-xs layui-btn-normal" onclick=" var w=($(window).width()*0.8); var h=($(window).height() - 50); layer.open({ title:'流程跟踪-{{d.bid}}',  type: 2,area: [w+'px', h +'px'],fix: true, maxmin: false, shadeClose: true, shade:0.4,shade:0.5,content:'/web/flow/ysp/toAudit?bid={{d.bid}}'});">
		<i class="layui-icon layui-icon-location"></i>流程跟踪</a>
	</script>

	<!-- 任务中心-已处理-操作 -->
	<script type="text/html" id="templet_script_12404">
		<a class="layui-btn layui-btn-xs layui-btn-normal" onclick="toFlow('{{d.bid}}', '{{d.defName}}-{{d.bid}}');">
		<i class="layui-icon layui-icon-edit"></i>表单数据</a>
		<a class="layui-btn layui-btn-xs layui-btn-normal" onclick=" var w=($(window).width()*0.8); var h=($(window).height() - 50); layer.open({ title:'流程跟踪-{{d.bid}}',  type: 2,area: [w+'px', h +'px'],fix: true, maxmin: false, shadeClose: true, shade:0.4,shade:0.5,content:'/web/flow/ysp/toAudit?bid={{d.bid}}'});">
		<i class="layui-icon layui-icon-location"></i>流程跟踪</a>
	</script>

	<!-- 任务中心-已完成-操作 -->
	<script type="text/html" id="templet_script_12405">
		<a class="layui-btn layui-btn-xs layui-btn-normal" onclick="toFlow('{{d.bid}}', '{{d.defName}}-{{d.bid}}');">
		<i class="layui-icon layui-icon-edit"></i>表单数据</a>
		<a class="layui-btn layui-btn-xs layui-btn-normal" onclick=" var w=($(window).width()*0.8); var h=($(window).height() - 50); layer.open({ title:'流程跟踪-{{d.bid}}',  type: 2,area: [w+'px', h +'px'],fix: true, maxmin: false, shadeClose: true, shade:0.4,shade:0.5,content:'/web/flow/ysp/toAudit?bid={{d.bid}}'});">
		<i class="layui-icon layui-icon-location"></i>流程跟踪</a>
	</script>

	<!-- 子列表功能配置-操作 -->
	<script type="text/html" id="templet_script_12438">
		{{#  if(d.frontType == 't_checkbox' || d.frontType == 't_dropdown'){ }}
		<a class="layui-btn layui-btn-xs layui-btn-normal" onclick="var w=($(window).width()*0.8); var h=($(window).height() - 50); layer.open({ title:'设置选项',  type: 2,area: [w+'px', h +'px'],fix: true, maxmin: false, shadeClose: true, shade:0.4,shade:0.5,content:'/web/sys/ysGridCol/toSettingOption?id={{d.id}}' });"><i class="layui-icon layui-icon-set"></i>设置选项</a>
		{{#  } }}
		{{#  if(d.frontType == 't_buttontext' || d.frontConditionType == 't_buttontext' || d.formAddType == 't_buttontext' || d.formEditType == 't_buttontext'){ }}
		<a class="layui-btn layui-btn-xs layui-btn-normal" onclick="var w=($(window).width()*0.8); var h=($(window).height() - 50); layer.open({ title:'设置前台弹出框',  type: 2,area: [w+'px', h +'px'],fix: true, maxmin: false, shadeClose: true, shade:0.4,shade:0.5,content:'/web/sys/ysGridCol/toSettingSelectorModal?id={{d.id}}' });"><i class="layui-icon layui-icon-set"></i>设置弹出框</a>
		{{#  } }}
		{{#  if(d.frontType == 't_file_multy'){ }}
		<a class="layui-btn layui-btn-xs layui-btn-normal" onclick="var w=($(window).width()*0.8); var h=($(window).height() - 50); layer.open({ title:'设置文件来源类型',  type: 2,area: [w+'px', h +'px'],fix: true, maxmin: false, shadeClose: true, shade:0.4,shade:0.5,content:'/web/sys/ysGridCol/toSettingMultyFileSourceType?id={{d.id}}' });"><i class="layui-icon layui-icon-set"></i>设置文件来源</a>
		{{#  } }}
		<a class="layui-btn layui-btn-xs layui-btn-danger" onclick="doDeleteOnTable('/api/inter/ysGridCol/deleteTrue?id={{d.id}}');"><i class="layui-icon layui-icon-delete"></i>删除</a>
	</script>

	<!-- 任务中心-制单中-操作 -->
	<script type="text/html" id="templet_script_13255">
		<a class="layui-btn layui-btn-xs layui-btn-normal" onclick="toFlow('{{d.bid}}', '{{d.defName}}-{{d.bid}}');">
		<i class="layui-icon layui-icon-edit"></i>表单数据</a>
		<a class="layui-btn layui-btn-xs layui-btn-normal" onclick=" var w=($(window).width()*0.8); var h=($(window).height() - 50); layer.open({ title:'流程跟踪-{{d.bid}}',  type: 2,area: [w+'px', h +'px'],fix: true, maxmin: false, shadeClose: true, shade:0.4,shade:0.5,content:'/web/flow/ysp/toAudit?bid={{d.bid}}'});">
		<i class="layui-icon layui-icon-location"></i>流程跟踪</a>
	</script>

	<!-- Listing表格操作区 -->
	<script type="text/html" id="templet_script_12103">
		<a class="layui-btn layui-btn-xs layui-btn-normal" onclick="bdbtn('{{d.code}}')" >关联平台编号</a>
	</script>


	<!-- 预支账户管理表格操作区 -->
	<script type="text/html" id="templet_script_14275">
		<a class="layui-btn layui-btn-xs layui-btn-normal" onclick="openUrl('预支台账明细', '/indexCommonOfMenu?menuId=10281&_condFields=pCode&_condValues={{d.code}}', 1);" >预支台账明细</a>
		<a class="layui-btn layui-btn-xs layui-btn-normal" onclick="openUrl('预支台账明细-新增', '/web/account/tcwAdvanceAccount/toList?id={{d.id}}', 1);" >预支台账明细-新增</a>
	</script>


	<!-- 预支账户管理表格操作区 -->
	<script type="text/html" id="templet_script_14453">
		<a class="layui-btn layui-btn-xs layui-btn-normal" onclick="openUrl('应付台账明细', '/indexCommonOfMenu?menuId=10287&_condFields=needPayAccountCode_yyss_aaabbb&_condValues={{d.code}}_yyss_{{d.name}}', 1);" >应付台账明细</a>
		<a class="layui-btn layui-btn-xs layui-btn-normal" onclick="openUrl('应付台账明细-新增', '/web/account/tcwNeedPayLedgerDetail/toAdd?needPayAccountCode={{d.code}}', 1);" >应付台账明细-新增</a>
	</script>


	<!-- 员工个税统计表-缴税年月 -->
	<script type="text/html" id="templet_script_15057">
		{{#  var payTaxMonth = addMonthByYYYY_MM(d.countMonth,2); }}
		<div style="width: 100%;">{{ payTaxMonth }}</div>
	</script>
	<!-- 员工个税统计表-所属期年月 -->
	<script type="text/html" id="templet_script_15086">
		{{#  var countMonth = addMonthByYYYY_MM(d.countMonth,1); }}
		<div style="width: 100%;">{{ countMonth }}</div>
	</script>
	<!-- 1688铺货- 商品图片-->
	<script type="text/html" id="templet_script_16550">
		<div class="ishide"><img class="bagimg" src=""/></div>
		{{#
		var delhtml = function(str) {
		return str.split('|')
		};
		var imgarr=delhtml(d.images);
		var str='';
		for(var i=0;i<imgarr.length;i++){
		if(imgarr[i]){
		str+=`<img name="${imgarr.length}" class="margin_0_2 width_30 height_30" src="${imgarr[i]}" onclick="layer.photos({photos: {'title': '${d.name}','id': '${d.id}','start': 0,'data': [{'src': '${imgarr[i]}'}]},closeBtn: 1});"/>`;
		}
		}
		return str;
		}}
		<img src="{{d.img2}}" data-type="1" height="30" class="preview-all">
	</script>


	<!-- 线上采购入库-商品图片1 -->
	<script type="text/html" id="templet_script_17020">
		<div style="width: 100%;">
			<img src="{{d.productImgOne}}" data-type="1" height="30" class="preview-all"
				 onclick="layer.photos({photos: {'title': '{{d.name}}','id': '{{d.id}}','start': 0,'data': [{'src': '{{d.productImgOne}}'}]},closeBtn: 1});"/>
		</div>
	</script>

	<!-- 线上采购入库-商品图片2 -->
	<script type="text/html" id="templet_script_17021">
		<div style="width: 100%;">
			<img src="{{d.productImgTwo}}" data-type="1" height="30" class="preview-all"
				 onclick="layer.photos({photos: {'title': '{{d.name}}','id': '{{d.id}}','start': 0,'data': [{'src': '{{d.productImgTwo}}'}]},closeBtn: 1});"/>
		</div>
	</script>

	<!-- 线上采购入库-商品图片3 -->
	<script type="text/html" id="templet_script_17022">
		<div style="width: 100%;">
			<img src="{{d.productImgThree}}" data-type="1" height="30" class="preview-all"
				 onclick="layer.photos({photos: {'title': '{{d.name}}','id': '{{d.id}}','start': 0,'data': [{'src': '{{d.productImgThree}}'}]},closeBtn: 1});"/>
		</div>
	</script>


	<!-- 采购链接 -->
	<script type="text/html" id="templet_script_17609">
		<a style="text-decoration: underline;cursor: pointer;color: #4DB6FD;" onclick="window.open('{{d.linkIn}}');" >{{d.linkIn}}</a>
	</script>

	<!-- 采购链接 -->
	<script type="text/html" id="templet_script_17610">
		<a style="text-decoration: underline;cursor: pointer;color: #4DB6FD;" onclick="window.open('{{d.linkIn}}');" >{{d.linkIn}}</a>
	</script>

	<!-- 采购链接 -->
	<script type="text/html" id="templet_script_27775">
		<a style="text-decoration: underline;cursor: pointer;color: #4DB6FD;" onclick="window.open('{{d.linkIn}}');" >{{d.linkIn}}</a>
	</script>

	<!-- 采购链接 -->
	<script type="text/html" id="templet_script_29229">
		<a style="text-decoration: underline;cursor: pointer;color: #4DB6FD;" onclick="window.open('{{d.linkIn}}');" >{{d.linkIn}}</a>
	</script>


	<!-- 批量导入信息 -->
	<script type="text/html" id="templet_script_27804">
		{{#  if(d.infoType == 1){ }}
		<a class="layui-btn layui-btn-xs layui-btn-normal" onclick="openUrl('导入详情', '/indexCommonOfMenu?menuId=20454&_condFields=pid&_condValues={{d.id}}', 1);" >查看导入详情</a>
		{{#  } }}
		{{#  if(d.infoType == 2){ }}
		<a class="layui-btn layui-btn-xs layui-btn-normal" onclick="openUrl('导入详情', '/indexCommonOfMenu?menuId=20457&_condFields=pid&_condValues={{d.id}}', 1);" >查看导入详情</a>
		{{#  } }}
	</script>



	<!-- 商品库 - 批量导入信息 -->
	<script type="text/html" id="templet_script_39396">
		<a class="layui-btn layui-btn-xs layui-btn-normal" onclick="openUrl('查看导入详情', '/indexCommonOfMenu?menuId=20498&_condFields=pid&_condValues={{d.id}}', 1);" >查看导入详情</a>
<!--		{{#  if(d.infoType == 2){ }}-->
<!--		<a class="layui-btn layui-btn-xs layui-btn-normal" onclick="openUrl('导入子件信息', '/indexCommonOfMenu?menuId=20457&_condFields=pid&_condValues={{d.id}}', 1);" >查看导入详情</a>-->
<!--		{{#  } }}-->
	</script>

</div>